<template>
  <div class='detail-nav'>
    <van-nav-bar>
      <template #left>
        <van-icon
          name="arrow-left"
          @click="$router.back()"
        />
      </template>
      <template #title>
        {{ $route.meta.title }}
      </template>
    </van-nav-bar>
  </div>
</template>

<script>
export default {
  name: '',
  data () {
    return {}
  },
  methods: {
    onClickLeft () {
      this.data.$route.back()
    },
  },
  computed: {},
  components: {},
  created () {},
}
</script>

<style lang='less' scoped>
.detail-nav {
  margin-bottom: 46px;
  .van-nav-bar {
    position: fixed;
    width: 100vw;
  }
}
</style>
